package com.xsw.common.core.domain.location;

import io.swagger.annotations.ApiModelProperty;

/**
 * @author yjc
 * @create 2023-09-21 17:00
 */
public class AddressComponentVo {
    /**
     * 省
     */
    @ApiModelProperty("省")
    private String province;
    /**
     * 市
     */
    @ApiModelProperty("市")
    private String city;
    /**
     * 区
     */
    @ApiModelProperty("区")
    private String district;
    /**
     * 街道
     */
    @ApiModelProperty("街道")
    private String township;
    /**
     * 街道行政区划代码
     */
    @ApiModelProperty("街道行政区划代码")
    private String towncode;

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getTownship() {
        return township;
    }

    public void setTownship(String township) {
        this.township = township;
    }

    public String getTowncode() {
        return towncode;
    }

    public void setTowncode(String towncode) {
        this.towncode = towncode;
    }

    @Override
    public String toString() {
        return "AddressComponentVo{" +
                "province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", district='" + district + '\'' +
                ", township='" + township + '\'' +
                ", towncode='" + towncode + '\'' +
                '}';
    }
}
